﻿<%@ Page Language="C#" MasterPageFile="~/students/masterpage.Master" AutoEventWireup="true" CodeBehind="SReport.aspx.cs" Inherits="ESCHOOL.students.WebForm4" Title="Report" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style3
        {
            width: 100%;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        <table class="style3">
            <tr>
                <td style="font-weight: 700; text-decoration: underline; text-align: center">
                    Report card</td>
            </tr>
        </table>
        <br />
    </p>
    <p>
        <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
            Height="50px" Width="372px">
            <Fields>
                <asp:BoundField DataField="enrollment_no" HeaderText="Enrollment No" />
                <asp:BoundField DataField="roll_no" HeaderText="Roll No" />
                <asp:BoundField DataField="class_name" HeaderText="Class" />
                <asp:BoundField DataField="student_name" HeaderText="Student Name" />
                <asp:BoundField DataField="father_name" HeaderText="Father Name" />
                <asp:BoundField DataField="mother_name" HeaderText="Mother name" />
            </Fields>
        </asp:DetailsView>
    </p>
    <p>
        &nbsp;</p>
    <p>
        <asp:DropDownList ID="ddexams" runat="server" AutoPostBack="True" 
            onselectedindexchanged="ddexams_SelectedIndexChanged" 
            ontextchanged="ddexams_TextChanged">
            <asp:ListItem Value="Select Examination"></asp:ListItem>
            <asp:ListItem Value="annual">Annual</asp:ListItem>
            <asp:ListItem Value="three monthly">Three monthly</asp:ListItem>
            <asp:ListItem Value="half yearly">Half yearly</asp:ListItem>
            <asp:ListItem>Quarterly</asp:ListItem>
        </asp:DropDownList>
    </p>
    <p>
        &nbsp;</p>
    <asp:Panel ID="Panel1" runat="server" ScrollBars="Auto">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Height="184px" Width="379px" AllowPaging="True" 
            onpageindexchanging="GridView1_PageIndexChanging">
            <Columns>
                <asp:BoundField DataField="subject_name" HeaderText="Subject Name" />
                <asp:BoundField DataField="max_theorymarks" HeaderText="Theory Marks(Max)" />
                <asp:BoundField DataField="max_practicalmarks" 
                    HeaderText="Practical Marks(Max)" />
                <asp:BoundField DataField="max_projectmarks" HeaderText="Project Marks(Max)" />
                <asp:BoundField DataField="obt_theorymarks" HeaderText="Theory marks(obt)" />
                <asp:BoundField DataField="obt_practicalmarks" 
                    HeaderText="Practical Marks(obt)" />
                <asp:BoundField DataField="obt_projectmarks" HeaderText="Project Marks(obt)" />
                <asp:BoundField DataField="total_maxmarks" HeaderText="Total Marks(max)" />
                <asp:BoundField DataField="total_obtmarks" HeaderText="Total Marks(obt)" />
                <asp:BoundField DataField="percentage" HeaderText="Percentage" />
                <asp:BoundField DataField="grade" HeaderText="Grade" />
                <asp:BoundField DataField="remark_name" HeaderText="Remark" />
            </Columns>
        </asp:GridView>
    </asp:Panel>
    <p>
    </p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
</asp:Content>
